USE mseconfig;

CREATE TABLE `clientpeerassign` (
  `ServerId` varchar(50) DEFAULT NULL,
  `ClientId` varchar(50) DEFAULT NULL,
  KEY `FK_ServerId` (`ServerId`),
  KEY `FK_ClientId` (`ClientId`),
  CONSTRAINT `FK_ClientId` FOREIGN KEY (`ClientId`) REFERENCES `clientpeers` (`PeerId`),
  CONSTRAINT `FK_ServerId` FOREIGN KEY (`ServerId`) REFERENCES `serverpeers` (`PeerId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


